package com.qigao.mall.jdbc.mapper;

import com.qigao.mall.commons.dto.OrderQueryDto;
import com.qigao.mall.jdbc.model.TbOrderDetail;
import com.qigao.mall.jdbc.model.TbOrderEntity;
import com.qigao.mall.jdbc.model.TbOrderTotal;

import java.util.List;

public interface TbOrderDetailMapper extends AbstractTbOrderDetailMapper{

    void insertBatch(List<TbOrderDetail> tbOrderDetails);

    List<TbOrderDetail> selectByOrderNo(String orderNo);

    List<TbOrderEntity> selectSettleByCond(OrderQueryDto orderQueryDto);

    TbOrderEntity selectTradeByOrderNo(TbOrderTotal tbOrderTotal);

    List<TbOrderDetail> selectByOrderNos(List<String> orderNos);
}